<?php
/**
  * 前端文件配置
  *
  * @access public
  * @author virowin<virowin@gmail.com>
  * @version 1.0 Wed Apr 25 15:18:22 CST 2012
  * @package app
  */

require "../../Include/conf.php";					//公共配置文件
require_once $CFG['conf_path']."/becca.php";			//项目配置文件 (optional)
require_once $CFG['include_path']."/global.php";	//全局环境加载

echo "yess";
$comment = new Lib_Comment(2);
//测试插入
//$comment->insert("lee_mee@126.com",0,1,0,0,0,0,"10.11.6.23","函数","已启动",null,0);
//测试评论SELECT
//$res = $comment->select(array("ct_user_id"=>'13'),0,0,0,20,1,1,0,$total_num);
//测试评论审核删除
//$res = $comment->update(array("is_del"=>1),1);
//测试评论顶踩
//$res = $comment->act(2,"up","10.11.6.23");
//
echo $res;
print_z(json_decode($res));